home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / logical.z / logical
Encoding:
Text File  |  2002-10-03  |  1.5 KB  |  43 lines

  1. LOGICAL(3I)                                           Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      LLOOGGIICCAALL - Converts between kinds of logical
  6.  
  7. SSYYNNOOPPSSIISS
  8.      LLOOGGIICCAALL (([LL==]_l [,,[KKIINNDD==]_k_i_n_d]))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, IRIX systems
  12.  
  13.      CF90, MIPSpro 7 Fortran 90
  14.  
  15. SSTTAANNDDAARRDDSS
  16.      Fortran
  17.  
  18. DDEESSCCRRIIPPTTIIOONN
  19.      The LLOOGGIICCAALL intrinsic function converts between kinds of logical.  It
  20.      accepts the following arguments:
  21.  
  22.      _l         Must be of type logical
  23.  
  24.      _k_i_n_d      An integer scalar value.  Must be a scalar integer
  25.                initialization expression
  26.  
  27.      LLOOGGIICCAALL is an elemental function.  The name of this intrinsic cannot
  28.      be passed as an argument.
  29.  
  30. RREETTUURRNN VVAALLUUEESS
  31.      The result type is logical.  If _k_i_n_d is present, the kind type
  32.      parameter is that specified by _k_i_n_d; otherwise, the kind type
  33.      parameter is that of default logical.  The value is that of _l.
  34.  
  35. EEXXAAMMPPLLEESS
  36.      LLOOGGIICCAALL((LL ..OORR.. ..NNOOTT.. LL)) has the value true and is of type default
  37.      logical, regardless of the kind type parameter of the logical variable
  38.      LL.
  39.  
  40. SSEEEE AALLSSOO
  41.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  42.      man page.
  43.